<link href="../Public/css/skin.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/Dialogbox.css" rel="stylesheet"	type="text/css" />
<script language="javascript" src="../Public/js/jquery-1.4.3.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>赠送用户虚拟币</title>

<style type="text/css">
	body {
		margin-left: 0px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
		background-color: #EEF2FB;
	}
	
	textarea {
		display: block;
	}
</style>

<script type="text/javascript">

	function saveUserCoinFun(){
		var url = '__URL__/sendVirtualCoinSave';
		
		var money = $("#money").val();
		var uid = $("#uid").val();
			
		if(uid==''){
			alert("用户不能为空");		
			return ;
		}
		if(money==''){
			alert("虚拟币数不能为空");		
			return ;
		}
		if(confirm("是否要提交")){
			
			$("#list").attr("action",url) ;		
			$("#list").submit();
			
		}
		
	}
	


</script>




<body>

	<table width="80%" border="0" cellpadding="0" cellspacing="0">
		
		<tr>
			<td valign="middle" background="../Public/images/mail_leftbg.gif">&nbsp;</td>
			<td valign="top" bgcolor="#F7F8F9">
				<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td valign="top" class="td_top"></td>
					</tr>
					<tr>
						<td>
						
							<form method="post" id="list" action="">
								<table width="100%" border="0" cellpadding="3" cellspacing="0" 	bgcolor="#CCCCCC" class="content">
									<tr>
										<td class="edit_left">用户名：</td>
										<td class="edit_right">
											<input type="hidden" id="uid" name="uid" value="{$data.id}"/>
											<input type="hidden" id="robot" name="robot" value="{$data.robot}"/>
											<input type="text" name="name" id="name" value="{$data.name}"  readonly="readonly" class="edit_input">
										</td>
									</tr>
									<tr>
										<td class="edit_left">{$Think.config.sysconfig.pointb_name}数：</td>
										<td class="edit_right">
											<input type="text" name="money" id="money" value="" class="edit_input">
										</td>
									</tr>
									<tr>
										<td colspan="2">
											<a   onclick="saveUserCoinFun();" id="submit" class="operation_submit" style="cursor: hand;margin-left: 430px; margin-top: 30px;"></a>
										</td>
									</tr>
								</table>
							</form>
							
							
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>

</body>
